local ma__xingshen = fk.CreateSkill {
  name = "ma__xingshen",
}

Fk:loadTranslationTable{
  ["ma__xingshen"] = "省身",
  [":ma__xingshen"] = "当你受到伤害后，你可以发动一次〖严教〗（改为由你进行分配）。",

  ["$ma__xingshen1"] = "寒宫斗婵娟，吾省夜夜长。",
  ["$ma__xingshen2"] = " 秋月金桂香，独省思如霜。",
}

ma__xingshen:addEffect(fk.Damaged, {
  anim_type = "masochism",
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:addPlayerMark(player, "ma__xingshen", 1)
      room:askToUseActiveSkill(player, {
        skill_name = "ma__yanjiao",
        prompt = "#ma__yanjiao",
        cancelable = false,
        no_indicate = false,
      })
    room:setPlayerMark(player, "ma__xingshen", 0)
  end,
})

return ma__xingshen
